package com.cn.yz.springboot.model;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.bind.annotation.XmlRootElement;


/**
 * <pre>
 * @author 
 *
 * @version 0.1
 *
 * 修改版本: 0.1
 * 修改日期: 2017-05-22
 * 修改人 :  
 * 修改说明: 初步完成
 * 复审人 ：
 * </pre>
 */
@XmlRootElement
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RabbitMQExchange implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Integer id;

	/**
	 * 
	 */
	private String exchangeName;

	/**
	 * 
	 */
	private String exchangeType;

	/**
	 * 
	 */
	private Integer durable;

	/**
	 * 
	 */
	private Integer autodelete;

	/**
	 * 
	 */
	private Integer internal;

	/**
	 * 
	 */
	private String arguments;

	/**
	 * 
	 */
	private Integer status;

	/**
	 * 
	 */
	private Integer createBy;

	/**
	 * 
	 */
	private Integer modifyBy;

	/**
	 * 
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date createTime;

	/**
	 * 
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date modifyTime;

	/**
	 * 
	 */
	private String ext1;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getExchangeName() {
		return exchangeName;
	}

	public void setExchangeName(String exchangeName) {
		this.exchangeName = exchangeName;
	}

	public String getExchangeType() {
		return exchangeType;
	}

	public void setExchangeType(String exchangeType) {
		this.exchangeType = exchangeType;
	}

	public Integer getDurable() {
		return durable;
	}

	public void setDurable(Integer durable) {
		this.durable = durable;
	}

	public Integer getAutodelete() {
		return autodelete;
	}

	public void setAutodelete(Integer autodelete) {
		this.autodelete = autodelete;
	}

	public Integer getInternal() {
		return internal;
	}

	public void setInternal(Integer internal) {
		this.internal = internal;
	}

	public String getArguments() {
		return arguments;
	}

	public void setArguments(String arguments) {
		this.arguments = arguments;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public Integer getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(Integer modifyBy) {
		this.modifyBy = modifyBy;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

}